package com.dingpeikeji.quickdeer.core.modules.orders.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dingpeikeji.quickdeer.core.common.persistence.Page;
import com.dingpeikeji.quickdeer.core.common.service.CrudService;
import com.dingpeikeji.quickdeer.core.modules.orders.dao.TOrdersPersonDao;
import com.dingpeikeji.quickdeer.core.modules.orders.entity.TOrdersPerson;

/**
 * 实名认证Service
 * @author gaozj
 * @version 2016-11-23
 */
@Service
@Transactional(readOnly = true)
public class TOrdersPersonService extends CrudService<TOrdersPersonDao, TOrdersPerson> {

	public TOrdersPerson get(String id) {
		return super.get(id);
	}
	
	public List<TOrdersPerson> findList(TOrdersPerson tOrdersPerson) {
		return super.findList(tOrdersPerson);
	}
	
	public Page<TOrdersPerson> findPage(Page<TOrdersPerson> page, TOrdersPerson tOrdersPerson) {
		return super.findPage(page, tOrdersPerson);
	}
	
	@Transactional(readOnly = false)
	public void save(TOrdersPerson tOrdersPerson) {
		super.save(tOrdersPerson);
	}
	
	@Transactional(readOnly = false)
	public void delete(TOrdersPerson tOrdersPerson) {
		super.delete(tOrdersPerson);
	}
	
}